
<!DOCTYPE html>
<html lang="en">
<head>
     <meta charset="utf-8">
  <title>主页</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="/static/layui-v2.5.7/layui/css/layui.css"  media="all">
  <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
    <style type="text/css">
        .bgimg {
            background: url('/static/img/dimg12.jpg') no-repeat;
            background-size: cover;
            -webkit-background-size: cover;
            -o-background-size: cover;
            background-position: center 0;
        }

            .bgimg2 {
                background: url('/static/img/dimg11.jpg') no-repeat;
                background-size: cover;
                -webkit-background-size: cover;
                -o-background-size: cover;
                background-position: center 0;
            }

            .bgimg3 {
                background: url('/static/img/dimg10.jpg') no-repeat;
                background-size: cover;
                -webkit-background-size: cover;
                -o-background-size: cover;
                background-position: center 0;
            }
    </style>


</head>
<body>


<ul class="layui-nav">
    <li class="layui-nav-item"><a href="/jump3">主页</a></li>
  <li class="layui-nav-item">
    <a href="javascript:;">员工信息</a>
    <dl class="layui-nav-child">
      <dd><a href="/searchWorkerInfo">查看</a></dd>
    </dl>
  </li>
  <li class="layui-nav-item"><a href="/jump2">员工评价</a></li>
    <li class="layui-nav-item"><a href="/shen_zhaopinfabu">招聘发布</a></li>
     <li class="layui-nav-item"><a href="/shen_zhaopinxinxi">招聘信息</a></li>

    <li class="layui-nav-item layui-col-md-offset7" lay-unselect="">
        <div><img src="/static/img/pimg2.jpg" class="layui-nav-img">{{ u }}</div>
        <dl class="layui-nav-child">
            <dd><a href="/">登出</a></dd>
        </dl>
    </li>
</ul>
<div class="layui-card-header">招聘信息</div>

<table id="demo" lay-data="{height:'full-20'}" lay-filter="test"  ></table>

<script src="/static/layui-v2.5.7/layui/layui.js" charset="utf-8"></script>
<script>
layui.use('table', function(){
  var table = layui.table;
  //第一个实例
  table.render({
    elem: '#demo'
    ,url: '/shen_search' //数据接口

    ,page: true //开启分页
    ,cols: [[ //表头
      {type:'radio'}
      ,{field:'id', width:200, title: '企业名称'}
      ,{field:'zhaopingangwei', width:200, title: '招聘岗位'}
      ,{field:'zhaopinrenshu', width:200, title: '招聘人数'}
      ,{field:'email', width:200, title: '联系方式'}
      ,{field:'beizhu', width:400, title: '备注'}
    ]]
  });
});
layui.use('element', function(){
  var element = layui.element; //导航的hover效果、二级菜单等功能，需要依赖element模块 <div style="background:url('/static/img/dimg0.png') repeat;width:100%">添加文字...添加文字...添加文字...</div>

  //监听导航点击
  element.on('nav(demo)', function(elem){
    //console.log(elem)
    layer.msg(elem.text());
  });
});
    $(function () {
            //禁用“确认重新提交表单”
            window.history.replaceState(null, null, window.location.href);
        })
</script>
</body>
</html>